package cn.migu.music.hangupsms.common.entity;

/**
 * 操作类型，0.未知；1.新增；2.修改配置；3.应用配置（配置生效）；4.删除配置
 */
public enum SettingOperationEnum {
    UNKNOWN(0, "未知"),
    ADD(1, "新增"),
    EDIT(2, "修改"),
    APPLY(3, "应用配置"),
    DELETE(4, "删除")
    ;
    SettingOperationEnum(int code, String desc){
        this.code = code;
        this.desc = desc;
    }
    private final int    code;
    private final String desc;

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
